package com.ifonly.render.factorys;

import com.ifonly.render.ErrorRenderFactory;
import com.ifonly.render.Render;
import com.ifonly.render.renders.ErrorRender;

/**
 * @author <a href="mailto:ifonlymaster@163.com">ifonly</a>
 * @version 1.0 2015-12-10 15:14
 * @since JDK 1.6
 */
public class DefaultErrorRenderFactory extends ErrorRenderFactory {

    @Override
    public Render getRender(int errorCode) {
        return new ErrorRender(errorCode, null);
    }

}
